package cc.taofoo.CCSP.ztrace;

import java.util.Scanner;

public class Main {
    static int n;
    static int[][] map;
    static int[][] to = new int[][]{{1, 0}, {-1, 1}, {0, 1}, {1, -1}};
    static int[] quene;
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        n = scanner.nextInt();
        map = new int[n + 1][n + 1];
        for (int i = 1; i <= n; i++) {
            for (int j = 1; j <= n; j++)
                map[i][j] = scanner.nextInt();
        }
        createQuene();
        zTrace();
    }

    static void createQuene(){

    }

    static void zTrace() {

    }


}
